package com.robot.model;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: li
 * Date: 2020/3/22
 * Time: 14:04
 * PROJECT：robot
 * PACKAGE: com.robot
 *
 * @author:55324936@qq.com To change this template use File | Settings | File Templates.
 */
@Data
public class TestPlanDo extends BaseEntity{
    /**
     * 计划名称
     */
    @NotNull(message = "计划名称不能为空")
    @NotEmpty(message = "计划名称不能为空")
    private String testPlanName;
    /**
     * 定时任务 1.开启，2.关闭
     * **/
    private Integer scheduleTask;
    /**
     * 运行模式
     */
    private Integer runMode;
    /**
     * 定时任务周几
     */
    private String weekTime;
    /**
     * 定时任务小时
     */
    private int hhTime;
    /**
     * 定时任务分钟
     */
    private int mmTime;
    /**
     * 邮件接收人，多个逗号隔开
     */
    private String sendTo;
    /**
     * 计划描述
     */
    private String description;

    private List<TestPlanDetailDo> testPlanDetailList;
}
